From 37704ecd82002916f1d435bb53ad591e982d5097 Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Tue, 30 Jan 2007 16:32:50 +0000 Subject: [PATCH] Fix typo, as suggested by Stefan Berger. Signed-off-by: Ewan Mellor --- tools/python/xen/xend/XendDomainInfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 94c4f4b5c9..b8624140b9 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -2125,7 +2125,7 @@ class XendDomainInfo: config['mode'] = 'RW' if dev_class == 'vtpm': - if not config.has_type('type'): + if not config.has_key('type'): config['type'] = 'paravirtualised' # TODO if not config.has_key('backend'): config['backend'] = "00000000-0000-0000-0000-000000000000" -- 2.30.2